//Calculator.java

import java.util.Scanner;

public class Calculator {

    public static void main(String[] stra0) {
        double op1;
        double op2;
        Scanner sc = new Scanner(System.in);
        System.out.println("Please input first Double Number:");
        op1=sc.nextDouble();
        System.out.println("Please input second Double Number:");
        op2=sc.nextDouble();
<<<<<<< HEAD
        System.out.print("Add Sub Mul Div Resultes:\n");
        Calculate cal=new Calculate();
        cal.doCalculate(new Add(),op1,op2);
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
	cal.doCalculate(new Sub(),op1,op2);
>>>>>>> 9e98a95f131d8aa5d04e9b5b2e91a8df23b4a606
=======
	cal.doCalculate(new Sub(),op1,op2);
	cal.doCalculate(new Mul(),op1,op2);
>>>>>>> 9fb767b4054eefc6fef3ae3b33feb3b95641d766
=======
	cal.doCalculate(new Sub(),op1,op2);
        cal.doCalculate(new Mul(),op1,op2);
        cal.doCalculate(new Div(),op1,op2);
>>>>>>> bb19c36905340f1216b2f0539f660189bfb119b3
=======
        System.out.print("Add Sub Mul Div Mod Resultes:\n");
        Calculate cal=new Calculate();
        cal.doCalculate(new Add(),op1,op2);
	cal.doCalculate(new Sub(),op1,op2);
        cal.doCalculate(new Mul(),op1,op2);
        cal.doCalculate(new Div(),op1,op2);
	cal.doCalculate(new Mod(),op1,op2);
>>>>>>> 35d9e5143b9c5ae2a4830d7a8b5448a88d3bc192
    }
}